<template>
  <div class="container">{{pathName}}</div>
</template>

<script>
export default {
  name: "ZhmProjectIndex",

  data() {
    return {
      pathName:'',
    };
  },

  mounted() {
    // 接收兄弟组件Echarts传递过来的pathName
    this.$bus.$on("chooseItem", (data) => {
      this.pathName = data;
    });
  },
  methods: {},
  watch:{
    pathName(){
    }
  },
};
</script>

<style lang="less" scoped>
.container {
}
</style>